<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<html>
<head>
    <title>更新信息</title>
</head>
<script type="text/javascript" src="JQuery/jquery-3.2.1.js"></script>
<script type="text/javascript">
    $(document).ready(function () {
        $("#hide1,#hide2").hide();
    })
</script>
<body>
<fieldset>
    <form action="update.do" method="get">
        <table>
            <tr>
                <div id="hide1" style="display: none">
                    <td>
                        id
                    </td>
                </div>
                <td>
                    name
                </td>
                <td>
                    birthday
                </td>
            </tr>
            <tr>
                <div id="hide2" style="display: none">
                    <td>
                        <input type="text" value = "${user.id}" name="id">
                    </td>
                </div>
                <td>
                    <input type="text" value="${user.name}" name="name">
                </td>
                <td>
                    <input type="text" value="${user.birthday}" name="birthday">
                </td>
            </tr>
        </table>
        <p>
            <input type="submit" value="确认"/>
        </p>
    </form>

</fieldset>
</body>
</html>
